package com.ithei.多线程第二天.生产者和消费者优化版本;


public class Test01 {
    public static void main(String[] args) {
        Desk desk=new Desk();
        Foodie fd=new Foodie(desk);
        fd.setName("吃货");
        Protuct pt=new Protuct(desk);
        pt.setName("厨师");
        fd.start();
        pt.start();
    }
}
